projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80a6918
)
(comint-read-input-ring): Use comint-input-ring-size from the comint buffer
author
Eli Zaretskii
<eliz@gnu.org>
Fri, 23 Feb 2007 19:21:25 +0000
(19:21 +0000)
committer
Eli Zaretskii
<eliz@gnu.org>
Fri, 23 Feb 2007 19:21:25 +0000
(19:21 +0000)
instead of the temporary one.
lisp/comint.el
patch
|
blob
|
history
diff --git
a/lisp/comint.el
b/lisp/comint.el
index eeb3e720d060ec409c6fc4b2c8d4be1fc5218c7c..19ce168a02e6c2e26248d05e13b84e559df0cd04 100644
(file)
--- a/
lisp/comint.el
+++ b/
lisp/comint.el
@@
-896,7
+896,7
@@
See also `comint-input-ignoredups' and `comint-write-input-ring'."
;; Watch for those date stamps in history files!
(goto-char (point-max))
(let (start end history)
- (while (and (< count
comint-input-ring-
size)
+ (while (and (< count size)
(re-search-backward comint-input-ring-separator nil t)
(setq end (match-beginning 0)))
(if (re-search-backward comint-input-ring-separator nil t)